<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
namespace Agp\CoreBundle\Entity;

use FOS\UserBundle\Model\User as BaseUser;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * Description of Usuario
 *
 * @author bondcs
 * @ORM\Entity
 * @ORM\Table(name="usuario")
 */
class Usuario extends BaseUser{
    
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;
    
    /**
     * @var string $nome
     *
     * @ORM\Column(name="nome", type="string", length=42, nullable=true)
     * @Assert\NotBlank(groups={"Profile"})
     * 
     */
    protected $nome;
    
    /**
     * @var string $dtNascimento
     *
     * @ORM\Column(name="dt_nascimento", type="date", nullable=true)
     * @Assert\NotBlank(groups={"Profile"})
     * 
     */
    protected $dtNascimento;
    
    /**
     * @var string $sexo
     *
     * @ORM\Column(name="sexo", type="string", nullable=true)
     * @Assert\NotBlank(groups={"Profile"})
     * 
     */
    protected $sexo;
    
    /**
     * @var string $rg
     *
     * @ORM\Column(name="rg", type="string", nullable=true)
     * @Assert\NotBlank(groups={"Profile"})
     * 
     */
    protected $rg;
    
    /**
     * @var string $cpf
     *
     * @ORM\Column(name="cpf", type="string", nullable=true)
     * @Assert\NotBlank(groups={"Profile"})
     * 
     */
    protected $cpf;
    
    /**
     * @var string $telefone
     *
     * @ORM\Column(name="telefone", type="string", nullable=true)
     * @Assert\NotBlank(groups={"Profile"})
     * 
     */
    protected $telefone;
    
    /**
     * @var string $celular
     *
     * @ORM\Column(name="celular", type="string", nullable=true)
     * @Assert\NotBlank(groups={"Profile"})
     * 
     */
    protected $celular;
    
    /**
     * @var string $endereco
     *
     * @ORM\Column(name="endereco", type="string", length=80, nullable=true)
     * @Assert\NotBlank(groups={"Profile"})
     */
    protected $endereco;
    
    /**
     * @var string $numero
     *
     * @ORM\Column(name="numero", type="string", length=80, nullable=true)
     * @Assert\NotBlank(groups={"Profile"})
     */
    protected $numero;

    /**
     * @var string $complemento
     *
     * @ORM\Column(name="complemento", type="string", length=45, nullable=true)
     */
    protected $complemento;

    /**
     * @var string $cep
     *
     * @ORM\Column(name="cep", type="string", length=45, nullable=true)
     * @Assert\NotBlank(groups={"Profile"})
     */
    protected $cep;

    /**
     * @var string $bairro
     *
     * @ORM\Column(name="bairro", type="string", length=45, nullable=true)
     * @Assert\NotBlank(groups={"Profile"})
     */
    protected $bairro;

    /**
     * @var integer $cidade
     *
     * @ORM\ManyToOne(targetEntity="\Agp\CoreBundle\Entity\Cidade", cascade={"persist"}, fetch="LAZY")
     * @ORM\JoinColumn(name="cod_cidade", referencedColumnName="id", nullable=true)
     * @Assert\NotBlank(groups={"Profile"})
     * 
     */
    protected $cidade;
    
    /**
     * @var string $link
     *
     * @ORM\Column(name="link", type="string", length=255, nullable=true)
     */
    protected $link;
    
    /**
     * @var string $avatar
     *
     * @ORM\Column(name="avatar", type="string", length=255, nullable=true)
     */
    protected $avatar;

    /** @ORM\Column(name="facebook_id", type="string", length=255, nullable=true) */
    protected $facebook_id;

    /** @ORM\Column(name="facebook_access_token", type="string", length=255, nullable=true) */
    protected $facebook_access_token;

    /** @ORM\Column(name="google_id", type="string", length=255, nullable=true) */
    protected $google_id;

    /** @ORM\Column(name="google_access_token", type="string", length=255, nullable=true) */
    protected $google_access_token;
    
    /** @ORM\Column(name="yahoo_id", type="string", length=255, nullable=true) */
    protected $yahoo_id;

    /** @ORM\Column(name="yahoo_access_token", type="string", length=255, nullable=true) */
    protected $yahoo_access_token;
    
    /** @ORM\Column(name="twitter_id", type="string", length=255, nullable=true) */
    protected $twitter_id;

    /** @ORM\Column(name="twitter_access_token", type="string", length=255, nullable=true) */
    protected $twitter_access_token;
    
    /** @ORM\Column(name="windows_live_id", type="string", length=255, nullable=true) */
    protected $windows_live_id;

    /** @ORM\Column(name="windows_live_access_token", type="string", length=255, nullable=true) */
    protected $windows_live_access_token;
    
    public function __construct()
    {
        parent::__construct();

    }
    
    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }
 
    public function getNome() {
        return $this->nome;
    }

    public function setNome($nome) {
        $this->nome = $nome;
    }
    
    public function getDtNascimento() {
        return $this->dtNascimento;
    }

    public function setDtNascimento($dtNascimento) {
        $this->dtNascimento = $dtNascimento;
    }

    public function getSexo() {
        return $this->sexo;
    }

    public function setSexo($sexo) {
        $this->sexo = $sexo;
    }

    public function getRg() {
        return $this->rg;
    }

    public function setRg($rg) {
        $this->rg = $rg;
    }

    public function getCpf() {
        return $this->cpf;
    }

    public function setCpf($cpf) {
        $this->cpf = $cpf;
    }

    public function getTelefone() {
        return $this->telefone;
    }

    public function setTelefone($telefone) {
        $this->telefone = $telefone;
    }

    public function getCelular() {
        return $this->celular;
    }

    public function setCelular($celular) {
        $this->celular = $celular;
    }

    public function getEndereco() {
        return $this->endereco;
    }

    public function setEndereco($endereco) {
        $this->endereco = $endereco;
    }

    public function getComplemento() {
        return $this->complemento;
    }

    public function setComplemento($complemento) {
        $this->complemento = $complemento;
    }

    public function getCep() {
        return $this->cep;
    }

    public function setCep($cep) {
        $this->cep = $cep;
    }

    public function getBairro() {
        return $this->bairro;
    }

    public function setBairro($bairro) {
        $this->bairro = $bairro;
    }

    public function getCidade() {
        return $this->cidade;
    }

    public function setCidade($cidade) {
        $this->cidade = $cidade;
    }
    
    public function getNumero() {
        return $this->numero;
    }

    public function setNumero($numero) {
        $this->numero = $numero;
    }
    
    public function getFacebookId() {
        return $this->facebook_id;
    }

    public function setFacebookId($facebook_id) {
        $this->facebook_id = $facebook_id;
    }

    public function getFacebookAccessToken() {
        return $this->facebook_access_token;
    }

    public function setFacebookAccessToken($facebook_access_token) {
        $this->facebook_access_token = $facebook_access_token;
    }

    public function getGoogleId() {
        return $this->google_id;
    }

    public function setGoogleId($google_id) {
        $this->google_id = $google_id;
    }

    public function getGoogleAccessToken() {
        return $this->google_access_token;
    }

    public function setGoogleAccessToken($google_access_token) {
        $this->google_access_token = $google_access_token;
    }
    
    public function getLink() {
        return $this->link;
    }

    public function setLink($link) {
        $this->link = $link;
    }

    public function getAvatar() {
        return $this->avatar;
    }

    public function setAvatar($avatar) {
        $this->avatar = $avatar;
    }
    
    public function getYahooId() {
        return $this->yahoo_id;
    }

    public function setYahooId($yahoo_id) {
        $this->yahoo_id = $yahoo_id;
    }

    public function getYahooAccessToken() {
        return $this->yahoo_access_token;
    }

    public function setYahooAccessToken($yahoo_access_token) {
        $this->yahoo_access_token = $yahoo_access_token;
    }
    
    public function getTwitterId() {
        return $this->twitter_id;
    }

    public function setTwitterId($twitter_id) {
        $this->twitter_id = $twitter_id;
    }

    public function getTwitterAccessToken() {
        return $this->twitter_access_token;
    }

    public function setTwitterAccessToken($twitter_access_token) {
        $this->twitter_access_token = $twitter_access_token;
    }

    public function getWindowsLiveId() {
        return $this->windows_live_id;
    }

    public function setWindowsLiveId($windows_live_id) {
        $this->windows_live_id = $windows_live_id;
    }

    public function getWindowwsLiveAccessToken() {
        return $this->windows_live_access_token;
    }

    public function setWindowsLiveAccessToken($windows_live_access_token) {
        $this->windows_live_access_token = $windows_live_access_token;
    }

}

?>
